<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script charset="utf8" src="../DataTables/media/js/jquery.js"></script>
<script>
    $(document).ready(function(){
        $.ajax({
            type:"get",
            dataType:"json",
            url:"/api/admin/person/all",
            success:function (data) {
                console.info(data);
            },
            error:function (data) {
                console.info(11);
            }
        });
            $.ajax({
                url:'/api/admin/user/roles',
                type:"get",
                dataType:"json",
                success:function (data) {
                    console.info(data['data']['1'])
                }
            });
    } )
</script>
</body>
</html>